import request from '@/config/axios'

export interface StoreOrderVO {
  id: number
  code: string
  price: number
}

// 获取员工订单分页
export const getPageByUser = async (params) => {
  return await request.get({ url: `/meijia/store-order/get-page-by-user`, params })
}
// 根据客户获得到店订单分页
export const getByMemberPage = async (params) => {
  return await request.get({ url: `/meijia/store-order/page-by-member`, params })
}